<?php

namespace App\Http\Requests\Order;

use App\Http\Requests\CommonRequest;
use App\Rules\PasswordRule;

class RefundRequest extends CommonRequest
{

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'app_id' => ['required'],
            'out_trade_no' => ['required'],
            'refund_amount' => ['required'],
        ];
    }


    /**
     * 获取已定义的验证规则的错误消息。
     * @return array
     */
    public function messages()
    {
        return [
        ];
    }

}
